package de.gwtprime.client.views;

import java.util.List;

import com.google.gwt.place.shared.Place;
import com.google.gwt.user.client.ui.IsWidget;

import de.gwtprime.client.ClientFactory;
import de.gwtprime.shared.requestFactory.QuestionProxy;
import de.gwtprime.shared.requestFactory.User2Proxy;

public interface UserAccountView extends IsWidget{

	
	void setPresenter(Presenter presenter);
	
	void setUser(User2Proxy user);
	
	public interface Presenter{
		public void goTo(Place place);
		public ClientFactory getClientFactory();

	}
	
	public void setName(String name);
	
	public void setQuestions(List<QuestionProxy> questions);

}
